package com.chen.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chen.common.Result;
import com.chen.entity.Sign;
import com.chen.mapper.SignMapper;
import com.chen.service.ISignService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author personcoder007
 * @since 2022-09-17
 */
@Service
public class SignServiceImpl extends ServiceImpl<SignMapper, Sign> implements ISignService {


    @Autowired
    private SignMapper signMapper;


    public IPage<Sign> findSignPage(Integer pageNum,Integer pageSize){
     Page<Sign> page = new Page<Sign>();

        QueryWrapper queryWrapper=new QueryWrapper();
        Page selectPage = signMapper.selectPage(page, queryWrapper);
        return selectPage;

    }



}
